<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>已撤销请假列表</title>
    <script src="/static/bflow/assets/js/scriptLib.js"></script>
    <script src="/static/bflow/assets/js/tableScriptLib.js"></script>
    <script src="/static/bflow/assets/js/bootsTableUtil.js"></script>
</head>
<body>
<div class="container">
    <div class="page-header">
        <h1>请假
            <small><a href="/index.html" class="btn btn-link">首页</a></small>
        </h1>
    </div>
    <ul class="nav nav-tabs">
        <li><a href="/static/bflow/ui/example/leave/list.html"><span>全部请假记录</span></a></li>
        <li><a href="/static/bflow/ui/example/leave/myList.html"><span>我的请假记录</span></a></li>
        <li><a href="/static/bflow/ui/example/leave/copyToMeList.html"><span>抄送给我的请假申请</span></a></li>
        <li class=""><a href="/static/bflow/ui/example/leave/auditList.html"><span>待审批</span></a></li>
        <li class="active"><a href="/static/bflow/ui/example/leave/cancelList.html"><span>已撤销</span></a></li>
    </ul>
    <table id="dataList" data-mobile-responsive="true">
        <thead>
        <tr>
            <th data-formatter="indexFormatter">序号</th>
            <th data-field="startUname">请假人</th>
            <th data-field="extVarchar2">请假类型</th>
            <th data-field="extNumeric1">请假天数</th>
            <th data-field="extDatetime1">请假开始时间</th>
            <th data-field="extDatetime2">请假结束时间</th>
            <th data-field="extVarchar1">请假事由</th>
            <th data-field="createTime" data-sortable="true" data-order="desc">提交时间</th>
            <th data-formatter="operationFormatter">操作</th>
        </tr>
        </thead>
        <tbody></tbody>
    </table>
</div>
</body>
<script src="/static/bflow/assets/js/bflow/example/leaveList.js"></script>
<script type="text/javascript">
    //加载数据
    BootstrapTableUtil.initTableDataByServer("/example/leave/cancelList");

    function operationFormatter(value, row, index) {
        var   buts = '<a href="#"  onclick="view(\''+row.instanceId+'\')" class="btn btn-primary btn-xs" style="margin-left: 5px">详情</a>';
        return buts;
    }
</script>
</html>